<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh" lang="zh" dir="ltr">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="generator" content="Editplus4PHP" />
    <meta name="keywords" content="Editplus4PHP" />
    <meta name="description" content="Editplus4PHP" />
    <meta name="author" content="Leo" />
<!--
    <script type="text/javascript" src="js/common.js"></script>
    <link rel="stylesheet" type="text/css" href="css/style.css" />
    <link rel="shortcut icon" href="images/favicon.ico" />
--> <link rel="stylesheet" type="text/css" href="View/Home/Index/images/index.css" />
    <title>打卡系统首页</title>
</head>
<body>
<p style="font-size:40px;text-align:center;">PHP--07班考勤</p>
<input type="button" value="添加学生" onclick="location.href='index.php?group=Home&module=Index&act=add'">
<input type="button" value="后台管理" onclick="location.href='index.php?group=Admin&module=Index&act=index'">
<input type="button" value="登录" onclick="location.href='index.php?group=Home&module=Index&act=login'">
<div id="attend">
{foreach $rows as $row}
   <div id="person">
      <p class="img"><img src="{$row['user_img']}" width="150px" height="150px"/></p>
      <p class="name">姓名：{$row['user_name']}</p>
      <a href="index.php?group=Home&module=Index&act=daka&user_id={$row['user_id']}"><p class="qiandao">打卡</p></a>
   </div>
{/foreach}

</div>
</body>
</html>